package com.ethereal.petmanagement.entity;

import java.math.BigInteger;
import java.sql.Date;
import java.sql.Timestamp;

public class Pet {
    private BigInteger id;
    private BigInteger userId;
    private String name;
    private String species;
    private Timestamp birthday;
    private Integer gender;
    private String avatarUrl;
    private Integer petType;
    private Integer isPublic;
    private Timestamp createTime;

    public BigInteger getUserId() {
        return userId;
    }

    public void setUserId(BigInteger userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSpecies() {
        return species;
    }

    public void setSpecies(String species) {
        this.species = species;
    }

    public Timestamp getBirthday() {
        return birthday;
    }

    public void setBirthday(Timestamp birthday) {
        this.birthday = birthday;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public Integer getPetType() {
        return petType;
    }

    public void setPetType(Integer petType) {
        this.petType = petType;
    }

    public Integer getIsPublic() {
        return isPublic;
    }

    public void setIsPublic(Integer isPublic) {
        this.isPublic = isPublic;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public BigInteger getId() {
        return id;
    }

    public void setId(BigInteger id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Pet{" +
                "id=" + id +
                ", userId=" + userId +
                ", name='" + name + '\'' +
                ", species='" + species + '\'' +
                ", birthday=" + birthday +
                ", gender=" + gender +
                ", avatarUrl='" + avatarUrl + '\'' +
                ", petType=" + petType +
                ", isPublic=" + isPublic +
                ", createTime=" + createTime +
                '}';
    }
}
